package com.reform.service;

import com.reform.pojo.common.Nav;
import com.baomidou.mybatisplus.extension.service.IService;
import com.reform.res.Result;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author mortale
 * @since 2021-06-27
 */
public interface INavService extends IService<Nav> {

    /**
     * 获取导航菜单
     * @param request
     * @return
     */
    Result getNas(HttpServletRequest request);

    /**
     * 切换身份
     * @param request
     * @param type
     * @return
     */
    Result getNavById(HttpServletRequest request, Integer type);
}
